package com.xk.sport.backend.common.entity;

import java.io.Serializable;

public class TeacherQuery implements Serializable {
    private String name;
    private String code;
    private String contact;
    private int page = 1;
    private int size = 20;
    private String sortKey = "createTime";
    private int sortAsc = 0;

    public int getPageNum(){
        return page - 1;
    }

    public String getSortKey() {
        return sortKey;
    }

    public void setSortKey(String sortKey) {
        this.sortKey = sortKey;
    }

    public int getSortAsc() {
        return sortAsc;
    }

    public void setSortAsc(int sortAsc) {
        this.sortAsc = sortAsc;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }
}
